package Computer.sxt;

public class Test {
	 public static void main(String[] args) {
	        Student stu1=new Student();
	        Student stu2=new Student();
	        Student stu3=new Student();
	        Band ba1=new Band();
	        Band ba2=new Band();
	        ba1.bname="联想";
	        ba1.CPUHZ="3.O";
	        ba2.bname="戴尔";
	        ba2.CPUHZ="1.9";
	        stu1.name="张三";
	        stu1.id=01;
	        stu1.ba=ba1;
	        stu2.name="李四";
	        stu2.id=02;
	        stu2.ba=ba1;
	        stu3.name="王五";
	        stu3.id=03;
	        stu3.ba=ba2;
	        stu1.speak();
	        stu2.speak();
	        stu3.speak();


	    }
}
